package com.duguo.dynamicmvc.support.servlet;

public class NotFoundException extends RuntimeException {
	
	private String _resourcePath;
	
	public NotFoundException(){		
	}
	
	public NotFoundException(String resourcePath){		
		this._resourcePath=resourcePath;
	}	
	
	public String getResourcePath() {
		return _resourcePath;
	}

	public void setResourcePath(String resourcePath) {
		_resourcePath = resourcePath;
	}

	public String toString(){
		return "Cannot found view or resource: "+_resourcePath;
	}
}
